const app = getApp()
Component({
  properties: {
    info:{
      type:Object,
      value:{}
    },
    calendar:{
      type:Object,
      value:{}
    }
  },
  data: {
    api:app.globalData.api,
  },
  methods: {
    goRoom() {
      // const obj = {
      //   ...this.properties.info
      // }
      wx.navigateTo({
        url:'/layout/main/room/index?obj=' + JSON.stringify(this.properties.info) + '&calendar=' + JSON.stringify(this.properties.calendar)
      })
    }
  }
})